package site.wetsion.employ.server.util;

import java.io.Serializable;
/**
 * 封装的返回状态
 * @author Wetsion
 *
 */
public class Result implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 状态吗*/
	private int code;
	
	/** 状态信息*/
	private String info;
	
	public Result(int code, String info) {
		this.code = code;
		this.info = info;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}
}
